package field_method01;
    public class Cylinder extends CylinderTest{

        private double height;




        public Cylinder (double radius, double height){
            super(radius);
            this.height = height;
        }


        public double getVolume() {
            return getArea() * height;
        }
    }


